RobinHankin / stokes

methods for exterior calculus
https://robinhankin.github.io/stokes/
3 stars 0 forks source link

summary methods #36

Closed RobinHankin closed 2 years ago

RobinHankin commented 4 years ago

It would be nice to have summary methods for kform and ktensor objects. Currently:

> x <- rform()
> x
A linear map from V^3 to R with V=R^7:
           val
 1 4 6  =   -8
 1 3 6  =    5
 4 5 6  =   -4
 3 5 6  =   -9
 2 5 7  =    3
 2 4 5  =    2
 1 5 6  =    6
 1 2 7  =   -8
> summary(x)
      Length Class  Mode   
index 24     -none- numeric
value  8     -none- numeric
RobinHankin commented 2 years ago

The first step should be to implement summary methods for spray objects: https://github.com/RobinHankin/spray/issues/29

RobinHankin commented 2 years ago

https://github.com/RobinHankin/spray/commit/8c6c931976cb036cca8a97d32c3d5840658f98c8