Comments (2)
I am not sure what you want to do.
you can find .def("pop_back", &DoubleVector::pop_back)
this line in the wrapper.cpp
this delete the last element in vector like void function
in cpp
Here is a demo:
from seal import *
inputs = DoubleVector()
inputs.push_back(1.1)
inputs.push_back(2.2)
inputs.push_back(3.3)
print(len(inputs)) # 3
print(inputs[0]) #1.1
print(inputs[2]) # 3.3
inputs.pop_back()
print(len(inputs)) # 2
There have complete usage examples in the tests
folder.
from seal-python.
Understood, my bad. Thank you for the response!
from seal-python.
Related Issues (20)
- ValueError: step count too large HOT 3
- 请问不支持整数编码吗? HOT 7
- "relinearize_inplace" doesn‘t work HOT 1
- Problem recreating 5_CKKS_Basics.py HOT 1
- How to calculate Polynomial Multiplication? HOT 10
- TypeError: cannot pickle 'seal.Ciphertext' object HOT 4
- encrypted1 and encrypted2 parameter mismatch HOT 7
- Not found the seal lib file, check the `SEAL/build/lib` HOT 14
- AttributeError: module 'seal' has no attribute 'EncryptionContext' HOT 2
- NameError: name 'EncryptionParameters' is not defined HOT 1
- Multiplication Depth analysis HOT 3
- LNK2001 with LNK1120: 88 unresolved externals
- seal-python docs HOT 3
- how to conda install after build HOT 1
- IntegerEncoder HOT 1
- 为什么样例文件夹中没有ckks方案的例子呢?如何快速上手此库呢? HOT 1
- 'seal.Ciphertext' object attribute 'scale' is read-only HOT 5
- Logistic Regression over Encrypted Data with BFV Scheme HOT 6
- How to get the coefficient of ciphertext? HOT 5
- is solved this attacks ? HOT 1
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 seal-python.