.class public abstract Lcom/google/common/math/LinearTransformation; .super Ljava/lang/Object; .source "LinearTransformation.java" # annotations .annotation build Lcom/google/common/annotations/Beta; .end annotation .annotation build Lcom/google/common/annotations/GwtIncompatible; .end annotation .annotation runtime Lcom/google/common/math/ElementTypesAreNonnullByDefault; .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/google/common/math/LinearTransformation$NaNLinearTransformation;, Lcom/google/common/math/LinearTransformation$VerticalLinearTransformation;, Lcom/google/common/math/LinearTransformation$RegularLinearTransformation;, Lcom/google/common/math/LinearTransformation$LinearTransformationBuilder; } .end annotation # direct methods .method public constructor ()V .locals 0 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static forNaN()Lcom/google/common/math/LinearTransformation; .locals 1 .line 1 sget-object v0, Lcom/google/common/math/LinearTransformation$NaNLinearTransformation;->INSTANCE:Lcom/google/common/math/LinearTransformation$NaNLinearTransformation; return-object v0 .end method .method public static horizontal(D)Lcom/google/common/math/LinearTransformation; .locals 3 .line 1 invoke-static {p0, p1}, Lcom/google/common/math/DoubleUtils;->isFinite(D)Z move-result v0 invoke-static {v0}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V .line 2 new-instance v0, Lcom/google/common/math/LinearTransformation$RegularLinearTransformation; const-wide/16 v1, 0x0 invoke-direct {v0, v1, v2, p0, p1}, Lcom/google/common/math/LinearTransformation$RegularLinearTransformation;->(DD)V return-object v0 .end method .method public static mapping(DD)Lcom/google/common/math/LinearTransformation$LinearTransformationBuilder; .locals 7 .line 1 invoke-static {p0, p1}, Lcom/google/common/math/DoubleUtils;->isFinite(D)Z move-result v0 if-eqz v0, :cond_0 invoke-static {p2, p3}, Lcom/google/common/math/DoubleUtils;->isFinite(D)Z move-result v0 if-eqz v0, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 invoke-static {v0}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V .line 2 new-instance v0, Lcom/google/common/math/LinearTransformation$LinearTransformationBuilder; const/4 v6, 0x0 move-object v1, v0 move-wide v2, p0 move-wide v4, p2 invoke-direct/range {v1 .. v6}, Lcom/google/common/math/LinearTransformation$LinearTransformationBuilder;->(DDLcom/google/common/math/LinearTransformation$1;)V return-object v0 .end method .method public static vertical(D)Lcom/google/common/math/LinearTransformation; .locals 1 .line 1 invoke-static {p0, p1}, Lcom/google/common/math/DoubleUtils;->isFinite(D)Z move-result v0 invoke-static {v0}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V .line 2 new-instance v0, Lcom/google/common/math/LinearTransformation$VerticalLinearTransformation; invoke-direct {v0, p0, p1}, Lcom/google/common/math/LinearTransformation$VerticalLinearTransformation;->(D)V return-object v0 .end method # virtual methods .method public abstract inverse()Lcom/google/common/math/LinearTransformation; .end method .method public abstract isHorizontal()Z .end method .method public abstract isVertical()Z .end method .method public abstract slope()D .end method .method public abstract transform(D)D .end method