4 search resultsShowing 1~4 results

Stocked
nomaton

@nomaton

【Rust】4次行列の逆行列計算の色々な実装

大きい行列の逆行列計算はLU分解などの手法が一般的だが、3DCGで使用する4次程度の行列であれば行列式と余因子を力技で計算する方が単純で早いと思っている。 最近Rustで4次の逆行列計算を懲りず...

1
0
Comment0
nomaton

@nomaton

【Rust】crates.io被依存数ランキング

crates.ioはRustのライブラリ(クレート)管理の中心であり、cargoコマンドによる依存クレートのダウンロードも特に指定がない限りはこのサイトの登録をもとに行われる。このサイトはGit...

8
2
Comment0
nomaton

@nomaton

【Rust】文字列型のUTF-8検証の中身

Rustの文字列型strはバイト列[u8]と同じデータ形式だが、安全なコードでは常に有効なUTF-8が保持されるという特殊な性質をもっている。strのUTF-8の有効性がどのように保証されている...

20
23
Comment0
nomaton

@nomaton

【Rust】loopとwhile trueの違い

loop != while true 意味的な違いはないと思われるloop {...}とwhile true {...}だが、変数制約チェックなどのパス解析では扱いが異なる。 // loopだと...

10
0
Comment0

4 search resultsShowing 1~4 results

Qiita is a knowledge sharing service for engineers.

  1. You can follow users and tags
  2. You can stock useful information
  3. You can make edit suggestions for articles
Functions that can be used after logging in