Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Add more base routines for stdlib_linalg #476

Open
7 of 8 tasks
zoziha opened this issue Jul 30, 2021 · 1 comment
Open
7 of 8 tasks

[feature] Add more base routines for stdlib_linalg #476

zoziha opened this issue Jul 30, 2021 · 1 comment
Labels
idea Proposition of an idea and opening an issue to discuss it topic: mathematics linear algebra, sparse matrices, special functions, FFT, random numbers, statistics, ...

Comments

@zoziha
Copy link
Contributor

zoziha commented Jul 30, 2021

Description

Fortran has its unique grammatical characteristics. I think it is impossible to learn from some routines of Matlab and Python completely. We should be based on the characteristics of Fortran.
Seeing the implementation of linspace/logspace in stdlib_math, I want to implement some routines in stdlib, mainly for stdlib_linalg.

Tasks


  • is_square
  • is_symmetric

Prior Art

Some routines has been implemented in keurfonluu/Forlab (MIT license).
I will rethink how to adapt to Fortran to write code.

@zoziha zoziha added the idea Proposition of an idea and opening an issue to discuss it label Jul 30, 2021
@ghbrown
Copy link
Member

ghbrown commented Jul 30, 2021

I was thinking about proposing and implementing some matrix property checks like

  • is_square (not sure if it's the same is is_squared?)
  • is_symmetric
  • is_triangular (upper, lower, and diagonal can fit in here somewhere)
  • is_hermitian
  • is_hessenberg (upper, lower, etc.)
    etc.

I think there is at least a little bit about API to discuss here, since for example I have found it very useful for is_square to also set the dimension n. Also, there should be a very clean way to set the API for checks that can result in upper/lower/diagonal/none, but we could discuss what is best for everyone.

I can open an issue to discuss this if that works for you.

@awvwgk awvwgk added the topic: mathematics linear algebra, sparse matrices, special functions, FFT, random numbers, statistics, ... label Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Proposition of an idea and opening an issue to discuss it topic: mathematics linear algebra, sparse matrices, special functions, FFT, random numbers, statistics, ...
Projects
None yet
Development

No branches or pull requests

3 participants