clifford.MVArray

class clifford.MVArray(input_array)[source]

Bases: numpy.ndarray

MultiVector Array

property value

Return an np array of the values of multivectors

static from_value_array(layout, value_array)[source]

Constructs an array of mvs from a value array

save(filename, compression=True, transpose=False, sparse=False, support=False, compression_opts=1)[source]

Saves the array to a ga file

sum()[source]

sum elements of this MVArray

gp()[source]

geometric product of all elements of this MVArray (like reduce) like self[0]*self[1]*....self[n]

op()[source]

outer product of all elements of this MVArray (like reduce) like self[0]^self[1]^....self[n]

normal()[source]

Normalises all elements

dual()[source]

Takes the dual of all elements

__call__(A)[source]

Performs grade projection on all elements