-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
57 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#ifndef CLARABEL_H | ||
#define CLARABEL_H | ||
|
||
/* Generated with cbindgen:0.24.5 */ | ||
|
||
/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */ | ||
|
||
#include <stdarg.h> | ||
#include <stdbool.h> | ||
#include <stdint.h> | ||
#include <stdlib.h> | ||
|
||
typedef void CscMatrixF64; | ||
|
||
CscMatrixF64 *CscMatrix_new(uintptr_t m, | ||
uintptr_t n, | ||
const uintptr_t *colptr, | ||
const uintptr_t *rowval, | ||
const double *nzval); | ||
|
||
void CscMatrix_delete(CscMatrixF64 *ptr); | ||
|
||
#endif /* CLARABEL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#ifndef CLARABEL_H | ||
#define CLARABEL_H | ||
|
||
/* Generated with cbindgen:0.24.5 */ | ||
|
||
/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */ | ||
|
||
#include <cstdarg> | ||
#include <cstdint> | ||
#include <cstdlib> | ||
#include <ostream> | ||
#include <new> | ||
|
||
namespace clarabel { | ||
|
||
using CscMatrixF64 = void; | ||
|
||
extern "C" { | ||
|
||
CscMatrixF64 *CscMatrix_new(uintptr_t m, | ||
uintptr_t n, | ||
const uintptr_t *colptr, | ||
const uintptr_t *rowval, | ||
const double *nzval); | ||
|
||
void CscMatrix_delete(CscMatrixF64 *ptr); | ||
|
||
} // extern "C" | ||
|
||
} // namespace clarabel | ||
|
||
#endif // CLARABEL_H |