Dontopedia

_resize

From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-07.)

_resize is increases capacity of array by 50%.

31 facts·22 predicates·3 sources·5 in dispute

Mostly:rdf:type(3), action(3), increases capacity by(2)

Maturity scale raw canonical shape-checked rule-derived certified

Inbound mentions (7)

Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.

hasMethodHas Method(3)

callsCalls(1)

isModifiedByIs Modified by(1)

partOfPart of(1)

triggersTriggers(1)

Other facts (28)

The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.

28 facts
PredicateValueRef
Rdf:typeMethod[1]
Rdf:typeMethod[2]
Rdf:typePython Method[3]
ActionCopy Existing Vectors[2]
ActionCopy Vectors to New Array[2]
ActionCopies Existing Vectors[3]
Increases Capacity by50percent[1]
Increases Capacity by50[2]
Performs ActionIncrease Capacity[2]
Performs ActionCopy Vectors[2]
Is Method ofVectors Array[1]
Copies Existing Vectors tonewArray[1]
Calculation MethodfiftyPercentIncrease[1]
Performs OperationarrayCopy[1]
Accepts ParameterNew Capacity[1]
Creates EntityNew Array[1]
Uses CalculationfiftyPercentIncreaseFormula[1]
MaintainsCapacity Availability[1]
Descriptionincreases capacity of array by 50%[2]
DestinationNew Array[2]
Modifies AttributeCapacity[2]
Called byAdd Vector Method[2]
CreatesNew Array[2]
ReplacesOld Array[2]
FunctionIncreases Matrix Capacity[3]
OperationArray Slicing Assignment[3]
UpdatesCapacity Attribute[3]
Has ParameterNew Capacity Parameter[3]

Timeline

Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.

isMethodOfbeam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
ex:vectors-array
increasesCapacityBybeam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
50percent
copiesExistingVectorsTobeam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
newArray
typebeam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
ex:Method
labelbeam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
_resize
calculationMethodbeam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
fiftyPercentIncrease
performsOperationbeam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
arrayCopy
acceptsParameterbeam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
ex:new-capacity
createsEntitybeam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
ex:new-array
usesCalculationbeam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
fiftyPercentIncreaseFormula
maintainsbeam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
ex:capacity-availability
typebeam/e84015fa-c493-4afc-989d-244a981b70fe
ex:Method
labelbeam/e84015fa-c493-4afc-989d-244a981b70fe
_resize method
descriptionbeam/e84015fa-c493-4afc-989d-244a981b70fe
increases capacity of array by 50%
actionbeam/e84015fa-c493-4afc-989d-244a981b70fe
ex:copy-existing-vectors
destinationbeam/e84015fa-c493-4afc-989d-244a981b70fe
ex:new-array
increasesCapacityBybeam/e84015fa-c493-4afc-989d-244a981b70fe
50
actionbeam/e84015fa-c493-4afc-989d-244a981b70fe
ex:copy-vectors-to-new-array
performsActionbeam/e84015fa-c493-4afc-989d-244a981b70fe
ex:increase-capacity
performsActionbeam/e84015fa-c493-4afc-989d-244a981b70fe
ex:copy-vectors
modifiesAttributebeam/e84015fa-c493-4afc-989d-244a981b70fe
ex:capacity
calledBybeam/e84015fa-c493-4afc-989d-244a981b70fe
ex:add-vector-method
createsbeam/e84015fa-c493-4afc-989d-244a981b70fe
ex:new-array
replacesbeam/e84015fa-c493-4afc-989d-244a981b70fe
ex:old-array
typebeam/078a77df-55b0-4824-8111-4d77ab0c96e1
ex:PythonMethod
labelbeam/078a77df-55b0-4824-8111-4d77ab0c96e1
_resize
functionbeam/078a77df-55b0-4824-8111-4d77ab0c96e1
ex:increases-matrix-capacity
actionbeam/078a77df-55b0-4824-8111-4d77ab0c96e1
ex:copies-existing-vectors
operationbeam/078a77df-55b0-4824-8111-4d77ab0c96e1
ex:array-slicing-assignment
updatesbeam/078a77df-55b0-4824-8111-4d77ab0c96e1
ex:capacity-attribute
hasParameterbeam/078a77df-55b0-4824-8111-4d77ab0c96e1
ex:new-capacity-parameter

References (3)

3 references
  1. ctx:claims/beam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
    • full textbeam-chunk
      text/plain1 KBdoc:beam/0e98f2e1-cdc0-4a33-868b-98a143f5105d
      Show excerpt
      - A NumPy array `vectors` is created with the specified initial capacity and vector size. 2. **Adding Vectors**: - The `add_vector` method checks if the current number of vectors has reached the capacity. If so, it resizes the array
  2. ctx:claims/beam/e84015fa-c493-4afc-989d-244a981b70fe
    • full textbeam-chunk
      text/plain1 KBdoc:beam/e84015fa-c493-4afc-989d-244a981b70fe
      Show excerpt
      - The `add_vector` method checks if the current number of vectors has reached the capacity. If so, it resizes the array to accommodate more vectors. - The new vector is added to the array, and the count of vectors is incremented. 3.
  3. ctx:claims/beam/078a77df-55b0-4824-8111-4d77ab0c96e1
    • full textbeam-chunk
      text/plain1 KBdoc:beam/078a77df-55b0-4824-8111-4d77ab0c96e1
      Show excerpt
      new_vectors[:self.capacity] = self.vectors self.vectors = new_vectors self.capacity = new_capacity # Example usage: vector_size = 3 vectorizer = SparseVectorizer(vector_size) vectorizer.add_vector(np.array([1, 0, 0]

See also

Keep researching

Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.