You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I needed to translate some Matlab code to Fortran. To get things to work the same as Matlab I had to create my own versions of the following functions.
unique - find unique values in an array
mean and standard deviations (mean, std)
ismember
Although the code to implement these in Fortran is not complicated for rank 1 and rank 2 arrays it gets complicated for anything greater so it would be nice if there where intrinsic Fortran equivalents
I'm guessing others might have additional functions they would add to this list. When it comes to intrinsics for manipulating and creating arrays along with some other functions, I would be happy if Fortran became Matlabs older but still faster and smarter brother.
The text was updated successfully, but these errors were encountered:
Recently, I needed to translate some Matlab code to Fortran. To get things to work the same as Matlab I had to create my own versions of the following functions.
Although the code to implement these in Fortran is not complicated for rank 1 and rank 2 arrays it gets complicated for anything greater so it would be nice if there where intrinsic Fortran equivalents
I'm guessing others might have additional functions they would add to this list. When it comes to intrinsics for manipulating and creating arrays along with some other functions, I would be happy if Fortran became Matlabs older but still faster and smarter brother.
The text was updated successfully, but these errors were encountered: