Skip to content

Commit

Permalink
Added some more doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ankith26 committed Aug 25, 2024
1 parent dd2bac1 commit 2dfc94e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ deps_lib_dirs = [deps_installed / 'lib']
# - if it doesn't find it, it fallbacks to the subproject wrap system or the
# ones installed in ./buildscripts

# these three are picked up due to the installation script in ./buildscripts
blaze_dep = dependency('blaze')
blaze_tensor_dep = dependency('BlazeTensor')
sleef_dep = dependency('sleef', required: false)
Expand All @@ -96,11 +97,13 @@ endif
# blaze and deps commonly used together
blaze_deps = [blaze_dep, blaze_tensor_dep, sleef_dep]

# this is picked up due to the installation script in ./buildscripts
brigand_dep = dependency('brigand', required: false)
if not brigand_dep.found()
brigand_dep = declare_dependency(include_directories: deps_inc_dirs)
endif

# this is picked up from ./subprojects
cxxopts_dep = dependency('cxxopts', fallback : 'cxxopts')

# meson-python: error: Could not map installation path to an equivalent wheel directory:
Expand Down
3 changes: 3 additions & 0 deletions backend/src/_linalg.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Implements a few basic math functions, intended to be equivalent to elastica._linalg
*/
#include <pybind11/pybind11.h>
#include <pybind11/numpy.h>
#include <blaze/Math.h>
Expand Down
6 changes: 6 additions & 0 deletions backend/src/_linalg_numpy.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
This file is similar to _linalg.cpp except it uses more naive and slower strategies.
This module was only implemented for experimental/benchmarking purposes and is probably
not suitable to use in practice.
*/
#include <pybind11/pybind11.h>
#include <pybind11/numpy.h>
#include <blaze/Math.h>
Expand Down
3 changes: 3 additions & 0 deletions backend/src/_rotations.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Implements a few basic rotate functions, intended to be equivalent to elastica._rotations
*/
#include <pybind11/pybind11.h>
#include <blaze/Math.h>

Expand Down

0 comments on commit 2dfc94e

Please sign in to comment.