Comments (1)
Looking at DGEEV, its list of parameters starts with
*> \param[in] JOBVL
*> \verbatim
*> JOBVL is CHARACTER*1
*> = 'N': left eigenvectors of A are not computed;
*> = 'V': left eigenvectors of A are computed.
*> \endverbatim
*> \param[in] JOBVR
*> \verbatim
*> JOBVR is CHARACTER*1
*> = 'N': right eigenvectors of A are not computed;
*> = 'V': right eigenvectors of A are computed.
*> \endverbatim
Using lapack.Job
for both parameters seems dangerous:
const (
ComputeLeftEigVec Job = 'V'
ComputeRightEigVec Job = 'V'
)
because they would be interchangeable without the compiler complaining. This led me to believe that we should probably avoid using generic Job
and Comp
types in native
and cgo
which leads me to ask whether we need to use lapack.Job
and lapack.Comp
in the lapacke
package. If its sole purpose is to serve the cgo
package, then using just byte
would be enough and lapacke
wouldn't need to import lapack
.
from lapack.
Related Issues (20)
- lapacke: Dgeev discards necessary information by returning bool instead of int HOT 3
- lapack: Repo description should have LAPACK not lapack and Go should be capitalized HOT 2
- testlapack: some files are missing copyright header
- testlapack: missing test for Dlacn2
- lapack/cgo/lapacke: Dlaset panics for valid ul
- native: Dlaswp panics when incX != 1 and -1 HOT 5
- testlapack: add test for Dlapy2 HOT 1
- testlapack: add test for Dlascl
- testlapack: add test for Dlaset
- testlapack: add test for Dlasrt
- testlapack: add test for Dlaswp
- lapack/native: add dggsvd3 implementation HOT 5
- travis: test script should report OpenBLAS sha when testing cgo HOT 1
- native: Dgeqrf does not return optimum lwork in work[0]
- cgo: remove comments about not supporting temporary storage (work)
- native: Dsytrd does not check length of d, e, tau, work as documented
- cgo: tests for Dormbr and Dormlq comments though fixes in OpenBLAS merged HOT 2
- testlapack: isOrthonormal does not detect NaN
- lapack/testlapack: no test for Dlatrs HOT 1
- native: Dggsvp3 incorrectly calculates range for A cleanup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lapack.