Ansys Optics Help Center home page
Products
  • Ansys Optics
  • Downloads
  • What's new
  • Ansys Help
Solutions
  • Lumerical
  • Zemax
  • Speos
Learn
  • Ansys Innovation Courses (AIC)
  • Ansys Learning Hub (ALH)
  • Webinars
  • On-Demand Webinars
  • White Papers
Get Help
  • Welcome Guide
  • Ansys Learning Forum (ALF)
  • Lumerical Ideas Exchange (IX)
  • Ansys Support (ACSS)
  • How to Register for Support
Evaluate for Free
  • Lumerical
  • Zemax
  • Speos
  1. Ansys Optics
  2. Scripting Language
  3. Commands

TOP

< (less than) - Script operator

FDTD MODE DGTD CHARGE HEAT FEEM INTERCONNECT

Performs an logical less-than comparison. Imaginary components of x and y are ignored.

Syntax

Description

out = y < x;

Less than.

Examples

This example shows the usage of the "

x=[1+3i, 2+5i];
y=[0.5+4i, 3+10i];
?x < y;
Warning: prompt line 3: in expression A < B, imaginary parts of A and B are ignored
result: 
0 1

See Also

List of commands , == , != , <= , >= , almostequal , > , & , and , | , or , ! , ~

Associated files

Related articles

  • > (greater than) - Script operator
  • How to release stuck, ghost, or abandoned license
  • Lumerical scripting language - By category
  • & (and) - Script operator
  • : (array operator, colon) - Script command

Products

  • Ansys Optics
  • Downloads
  • What's new
  • Ansys Help

Solutions

  • Lumerical
  • Zemax
  • Speos

Learn

  • Ansys Innovation Courses
  • Ansys Learning Hub
  • Webinars
  • On-Demand Webinars
  • White Papers

Get Help

  • Ansys Learning Forum
  • Lumerical Ideas Exchange
  • Ansys Support
  • How to Register for Support

Evaluate for Free

  • Lumerical
  • Zemax
  • Speos
Hear the Latest from Ansys

Copyright 2025 Ansys Canada Ltd.


Ansys
  • Terms of Service
  • Cookie Policy
  • Privacy Policy
  • Legal Notices