Skip to content

loadtxt and savetxt #16

Closed
Closed
@certik

Description

@certik

Implementation: https://github.com/certik/fortran-utils/blob/b43bd24cd421509a5bc6d3b9c3eeae8ce856ed88/src/utils.f90#L176

The interface is compatible with NumPy (e.g., you can do savetxt from Fortran and do loadtxt from NumPy and it just works, and vice versa).

The loadtxt has the argument as allocatable, intent(out), because you typically do not know the size of the matrix ahead of time.

NumPy: savetxt, loadtxt

Metadata

Metadata

Assignees

No one assigned

    Labels

    in progressThis proposal is being worked ontopic: utilitiescontainers, strings, files, OS/environment integration, unit testing, assertions, logging, ...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions