MCPcopy Create free account

hub / github.com/EelcoHoogendoorn/numga / functions

Functions937 in github.com/EelcoHoogendoorn/numga

↓ 4 callersMethod_complement
Construct an operator that maps the subspace/operator to a complementary set of blades
numga/operator/factory.py:75
↓ 4 callersMethodadd
(self, other: "Operator")
numga/operator/operator.py:82
↓ 4 callersFunctioncheck_inverse
(x, i, atol=1e-9)
numga/multivector/test/util.py:98
↓ 4 callersMethodcombine
fused-multiply-add on multivectors of arbitrary subspaces
numga/multivector/multivector.py:247
↓ 4 callersMethoddegenerate
(self)
numga/multivector/multivector.py:205
↓ 4 callersMethoddual
Hodge dual
numga/multivector/multivector.py:64
↓ 4 callersMethodindices
compute indices for reduceat expression, assuming rows idx are in sorted order
numga/examples/ga_sparse.py:89
↓ 4 callersMethodintegrate
Verlet style integrator
numga/examples/physics/core.py:80
↓ 4 callersMethodinverse
(self)
numga/backend/torch/operator.py:87
↓ 4 callersMethodmake_commutator
(self, op, sign)
numga/operator/factory.py:374
↓ 4 callersFunctionmatch
Return unique value in sequence, if it exists
numga/util.py:17
↓ 4 callersMethodnegatives
Negatives signs picked up by dotting these blades with themselves
numga/operator/factory.py:62
↓ 4 callersFunctionnewton_solver_wrap
wrap newton solve of a multivector function
numga/examples/physics/lie_integrators.py:22
↓ 4 callersMethodnondegenerate
Select non-degenerate subspace
numga/subspace/subspace.py:153
↓ 4 callersMethodnonscalar
(self)
numga/subspace/factory.py:129
↓ 4 callersMethodproduct
(self, other)
numga/subspace/subspace.py:165
↓ 4 callersFunctionrender
Render a 3d scene, as embedded in a 4d elliptical or euclidian space currently it specializes to pga only would it be hard to revive elliptical? no
numga/examples/physics/render_3.py:52
↓ 4 callersMethodscalar_negation
(self, v)
numga/operator/factory.py:100
↓ 4 callersMethodselect_subspace
(self, other: "SubSpace")
numga/subspace/subspace.py:256
↓ 4 callersFunctionsimplex_inertia_lumped
Inertia map of a uniform density simplex described by N corner points, described as antivectors as norm 1
numga/examples/test_simplex.py:28
↓ 4 callersMethodslice_subspace
slice out part of subspace using indices relative to the indices of the subspace
numga/subspace/subspace.py:265
↓ 4 callersMethodsolve
Return operator for solving x * y = rhs, for unknown y
numga/operator/factory.py:605
↓ 3 callersMethod_build
(self, subspace_or_operator: Tuple[SubSpace])
numga/operator/operator.py:46
↓ 3 callersMethodabs
(self, x)
numga/backend/jax/context.py:39
↓ 3 callersMethodantivector
(self, values=None)
numga/multivector/factory.py:64
↓ 3 callersMethodargmin
(self, x, **kwargs)
numga/backend/jax/context.py:56
↓ 3 callersFunctionbit_count
Count the bits in each element of array b Parameters ---------- b: ndarray, [...] Returns ------- ndarray, [...], uint8 bitcounts of each el
numga/algebra/bitops.py:31
↓ 3 callersFunctionbit_pack
Packs a sequence of booleans as a singleton integer array
numga/algebra/bitops.py:25
↓ 3 callersFunctionbiterator
Slice an array of elements into an iterable of its constituent bits
numga/algebra/bitops.py:55
↓ 3 callersMethodbroadcast_einsum
Overridable behavior for specifying broadcasting in einsum expression
numga/operator/abstract.py:105
↓ 3 callersMethodcoerce_array
(self, values, dtype=None)
numga/backend/numpy/context.py:21
↓ 3 callersMethodcomplement
Complement of a set of blades
numga/algebra/algebra.py:71
↓ 3 callersMethodconjugate
Reverse the signs and order of all basis blades
numga/operator/factory.py:129
↓ 3 callersMethodconstruct
A place to provide subtype specific type coercions and so on
numga/multivector/multivector.py:43
↓ 3 callersMethoddiag
construct a diagonal matrix from a vector
numga/examples/ga_sparse.py:55
↓ 3 callersMethodeven_grade
(self, values=None)
numga/multivector/factory.py:74
↓ 3 callersFunctionexp_bisect
(b: BiVector, n=15)
numga/multivector/extension/logexp.py:122
↓ 3 callersMethodfull_sandwich
(self, other)
numga/multivector/multivector.py:193
↓ 3 callersMethodinner
(self, other)
numga/multivector/multivector.py:106
↓ 3 callersMethodintersection
Intersection of elements in both subspaces
numga/subspace/subspace.py:232
↓ 3 callersMethodinverse_factor_completed_alt
Fusing with scalar negation gives different reduction possibilities
numga/operator/factory.py:582
↓ 3 callersMethodis_subspace
True if all blades of other are contained in self Contains a shortcircuit to optimize the common case of identical subspaces being tested
numga/subspace/subspace.py:250
↓ 3 callersMethodlog
(self, x)
numga/backend/jax/context.py:44
↓ 3 callersFunctionlog2
(r)
numga/examples/physics/lie_integrators.py:32
↓ 3 callersMethodmin
(self, x, **kwargs)
numga/backend/jax/context.py:54
↓ 3 callersMethodmul
Scalar multiplication
numga/operator/operator.py:88
↓ 3 callersMethodnan_to_num
(self, nan)
numga/multivector/multivector.py:403
↓ 3 callersMethodnormalize
normalize a CGA object o such that o.dot(ni) == -1
numga/examples/conformal.py:219
↓ 3 callersMethodpartial
(self, inputs: Dict[int, TorchMultiVector])
numga/backend/torch/operator.py:59
↓ 3 callersMethodpartial
Bind a subset of inputs
numga/operator/abstract.py:58
↓ 3 callersMethodpoint_position
(self, p)
numga/examples/conformal.py:196
↓ 3 callersFunctionprint_op
(op)
numga/backend/test/test_numpy.py:33
↓ 3 callersMethodproduct
Binary geometric product between self and other of given symmetry
numga/multivector/multivector.py:90
↓ 3 callersFunctionrandom_nonnegative_normal_vector
Random vector from normal distribution with a norm >= 0
numga/multivector/test/util.py:13
↓ 3 callersFunctionrandom_reflection
(context, shape=())
numga/multivector/test/util.py:35
↓ 3 callersFunctionreduce
Sum over sequence, starting from first element, rather than zero
numga/util.py:30
↓ 3 callersFunctionrender
(context, states, jit=lambda x: x)
numga/examples/physics/render.py:18
↓ 3 callersMethodrepeat
(self, pattern, **kwargs)
numga/backend/jax/multivector.py:63
↓ 3 callersMethodreshape
(self, shape)
numga/backend/numpy/multivector.py:67
↓ 3 callersMethodrestrict_subspace
(self, subspace)
numga/multivector/multivector.py:240
↓ 3 callersMethodrestrict_subspace
(self, other: "SubSpace")
numga/subspace/subspace.py:259
↓ 3 callersMethodreverse
~ operator, or blade-reversal
numga/multivector/multivector.py:70
↓ 3 callersMethodreverse_product
(self, other)
numga/subspace/subspace.py:211
↓ 3 callersMethodselect
selection output subspace. think of better name?
numga/operator/factory.py:81
↓ 3 callersMethodselect_grade
Remap to new output space; dropping outputs or adding implicit zeros
numga/operator/operator.py:200
↓ 3 callersFunctionsetup_bodies
Some really ugly code to initialize an nd chain of linked rigid bodies
numga/examples/physics/setup_chain.py:8
↓ 3 callersFunctionsetup_rays
Set up perspective camera rays Returns ------- camera_motor: Motor defines world-to-camera space camera_motor >> local = world the origin of
numga/examples/physics/render_3.py:6
↓ 3 callersFunctionsimplex_inertia
inertia map given [N x n] barycentric weights and n corner points
numga/examples/test_simplex.py:9
↓ 3 callersFunctionsimplex_inertia_brute
generate cube of sampling points; and pick sum(C) < 1
numga/examples/test_simplex.py:34
↓ 3 callersFunctionsimplify_inverses
Register inversion rules based on simplifying the expression by self-involutions We register the simplest paths first and only go 3 levels of recursi
numga/multivector/extension/inverse.py:47
↓ 3 callersMethodsquared
x * x
numga/operator/factory.py:456
↓ 3 callersMethodsquared
(self)
numga/subspace/subspace.py:189
↓ 3 callersFunctionsummation
Sum over sequence, starting from first element, rather than zero
numga/util.py:36
↓ 3 callersMethodto_relative_indices
convert blades to indices that index the subspace self.blades[indices] = blades anti-slice, if you will
numga/subspace/subspace.py:271
↓ 3 callersFunctiontranslator
(tx, ty)
numga/examples/pga2d.py:39
↓ 3 callersMethodtranslator
(self)
numga/subspace/factory.py:146
↓ 3 callersFunctionwrite_animation_simulation
write an animation based on a set of states
numga/examples/physics/render.py:4
↓ 2 callersFunctionRK4
(f, y, h)
numga/examples/integrators.py:7
↓ 2 callersMethod_divide
(self, other)
numga/multivector/multivector.py:307
↓ 2 callersMethod_zeros
bool for each blade in the subspace, if it contains a degenerate basis vector
numga/subspace/subspace.py:145
↓ 2 callersMethodabs
(self)
numga/multivector/multivector.py:405
↓ 2 callersMethodanti_wedge
(self, other)
numga/multivector/multivector.py:99
↓ 2 callersMethodas_dense
(self)
numga/examples/ga_sparse.py:234
↓ 2 callersMethodbasis
Construct a list of canonical basis 1-blades
numga/multivector/factory.py:38
↓ 2 callersMethodbind
Bind input operators to operator `self` If inputs is a Dict[int, Operator], it is used as a partial apply Example ------- Given kernels with
numga/operator/operator.py:140
↓ 2 callersMethodbroadcast_allocate
Allocation for a set of inputs, with multivector components as last axis, and broadcasting axes on the left
numga/backend/numpy/operator.py:40
↓ 2 callersMethodcontract
(self, axes)
numga/operator/sparse_tensor.py:94
↓ 2 callersMethodcross_product
Compute (l ^ r)*
numga/operator/factory.py:397
↓ 2 callersMethoddegenerate
Degenerate subspace
numga/subspace/factory.py:190
↓ 2 callersMethoddeslice
inverse of slice; blow up the kernel with zeros
numga/operator/operator.py:171
↓ 2 callersMethoddistribute_forque
Divide an anti-bivector impulse forque line in body local space, to two momentum-conserving bivector steps in body local space, which will move ou
numga/examples/physics/core.py:148
↓ 2 callersFunctionexp4
(b)
numga/examples/physics/lie_integrators.py:35
↓ 2 callersMethodfinalize
(self)
numga/examples/ga_sparse.py:41
↓ 2 callersMethodfrom_cayley
(inputs: List[SubSpace], cayley, sign)
numga/operator/sparse_tensor.py:14
↓ 2 callersMethodfrom_point_cloud
Initialize a body from a point cloud Parameters ---------- points: [..., n_points], Point Returns ------- [...], Body
numga/examples/physics/base.py:93
↓ 2 callersMethodfrom_str
Construct algebra using interleaved basis names and signatures syntax Examples -------- 'x+y+z+w0' constructs the algebra corresponding to 3d P
numga/algebra/description.py:57
↓ 2 callersMethodfull_sandwich
Compute (R * v) * ~R, the full sandwich product The output subspace of the sandwich product contains both the input subspace grades, as well as t
numga/operator/factory.py:496
↓ 2 callersMethodfuse
Fuse to operators; feed output of `self` into nth input argument of `other`
numga/operator/operator.py:130
↓ 2 callersMethodgeometric_product
Geometric product
numga/operator/factory.py:234
↓ 2 callersMethodgrade_selection
Apply a grade selection formula
numga/operator/operator.py:222
← previousnext →101–200 of 937, ranked by callers