You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An abstract python interface of type TimeAnalysis, capable of
taking derivatives and integrals of collections of paths, given
an actual VectorSpace object, and a matrix with VectorSpace.n_dofs rows and an arbitrary number of columns,
representing functions of the given VectorSpace
The text was updated successfully, but these errors were encountered:
This is a little outdated. We have added element_der which responds to the first question, and we enabled elements made of matrices, which adds the possibility to have multiple components. Only integration is missing at the moment. We should add a method integrate to the base class VectorSpace, which would take a quadrature and a set of coefficients (or matrix of coefficients) and return the integral:
vi=SomeVectorSpace(...)
n_components=some_numbercoeffs=zeros(vi.n_dofs, n_components)
...
# change coeffs here
...
printshape(coeffs) # will print (n_dofs, n_components)quad=some_quadrature_formula# in [0,1]# Compute the integralresult=vi.integrate(coeffs, quad)
printresult# should print array([i0, i1, ...., i_{ncomponents-1}])printshape(result) # should print (n_components, )
An abstract python interface of type
TimeAnalysis
, capable oftaking derivatives and integrals of collections of paths, given
an actual
VectorSpace
object, and a matrix withVectorSpace.n_dofs
rows and an arbitrary number of columns,representing functions of the given
VectorSpace
The text was updated successfully, but these errors were encountered: