Sparse block diagonal concatenation

버전 1.2 (2.49 KB) 작성자: Rody Oldenhuis
Sparse version of BLKDIAG()
다운로드 수: 309
업데이트 날짜: 2020/5/2

SPBLKDIAG Block diagonal concatenation of matrix input arguments, with sparse output.

Y = SPBLKDIAG(A,B,...) produces SPARSE(BLKDIAG(A, B, ..)) efficiently, where A, B, ... are matrices of class double (real or complex).

Basically, this is a thin wrapper around MATLAB's own BLKDIAG, since it already supports sparse output. However:

- BLKDIAG does not mention sparse support in its documentation; nor the fact that it is supported, nor how to access the functionality.

- BLKDIAG's name is inconsistent with the function names for any of MATLAB's other sparse functions (SPEYE, SPDIAGS, etc.)

Therefore, until The MathWorks fixes this, this function provides a better documented and more intuitively named alternative to BLKDIAG.

인용 양식

Rody Oldenhuis (2024). Sparse block diagonal concatenation (https://github.com/rodyo/FEX-spblkdiag/releases/tag/v1.2), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
1.2

See release notes for this release on GitHub: https://github.com/rodyo/FEX-spblkdiag/releases/tag/v1.2

1.1.0.0

fixed typos in the description.

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.