computeFeature

inline fun <T : Any, F : StructureFeature> LinearSpace<T, *>.computeFeature(structure: Matrix<T>): F?

Get a feature of the structure in this scope. Structure features take precedence other context features.

Return

a feature object or null if it isn't present.

Parameters

T

the type of items in the matrices.

F

the type of feature.

Sources

Link copied to clipboard