FortCpp icon indicating copy to clipboard operation
FortCpp copied to clipboard

Vector Indexing

Open dalon-work opened this issue 10 years ago • 1 comments

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

dalon-work avatar Mar 02 '15 23:03 dalon-work

Create a wrapper Vector class.

dalon-work avatar Feb 12 '16 00:02 dalon-work