FortCpp
FortCpp copied to clipboard
Vector Indexing
Create new class that allows for Vector Indexing, similar to Fortran:
real,dimension(10) :: a
a = 1.0
a( [1,3,4,7] ) = 0.0
I'm thinking of using Array1d as a linear indexer, which can then be used in functions like where
Create a wrapper Vector class.