getFeature

inline fun <T : Any, F : StructureFeature> AlgebraND<T, *>.getFeature(structure: StructureND<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