Enterprise
Sign In
← Docs
  • Zoo Design Studio
  • Zoo Developer Tools
  • Glossary
  • FAQ
kcl-std → functions → vector::div

vector::divFunction in std::vector

Divides every element of u by its corresponding element in v. Both vectors must have the same length. Returns a new vector of the same length. In other words, component-wise division.

Arguments

NameTypeDescriptionRequired
u[number]Yes
v[number]Yes

Returns

[number]

Examples

Found a typo?
Zoo

8701 Aviation Blvd

Inglewood, California 90301

    Product
  • Zoo Design Studio
  • Text-to-CAD
  • Download App
  • Release Notes
    Company
  • Enterprise
  • Careers
  • Research
  • Blog
  • Contact sales
    Pricing
  • Zoo Design Pricing
  • API Pricing
    Resources
  • Tutorials
  • Developers
  • Support
  • Terms & Conditions
  • Privacy Policy
  • Security
  • Trust Center

Copyright © 2025 ZOO CORPORATION All rights reserved.