dalon-work / FortCpp

FortC++ provides header-only arrays that act like Fortran arrays
MIT License
19 stars 0 forks source link

Vector Indexing #2

Open dalon-work opened 9 years ago

dalon-work commented 9 years ago

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 commented 8 years ago

Create a wrapper Vector class.