Skip to content

Commit

Permalink
chore(doc): add a bit more substance to the array documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
IceTDrinker committed Oct 2, 2024
1 parent 28f61d4 commit 76cf276
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tfhe/docs/guides/array.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

This document describes the array types provided by the High-level API.

This new encrypted types allow you to easily perform array and tensor operations on encrypted data, taking care of the iteration and shape logic for you.

It also implements efficient algorithms in some cases, like summing elements of an array.

The following example shows a complete workflow of working with encrypted arrays, including:
- Generating keys
- Encrypting arrays of integers
- Performing operations such as:
- slicing arrays
- computing on a sub array, adding encrypted data to it
- computing on a sub array, adding clear data to it
- Decrypting the result, getting back a Rust `Vec` of decrypted values

```toml
# Cargo.toml

Expand Down

0 comments on commit 76cf276

Please sign in to comment.